Dynomotion

Group: DynoMotion Message: 15203 From: sullrich07@gmail.com Date: 12/6/2017
Subject: Hi, question regarding I/O's and output signal type


Hello Mr. Kerekes, hey group. I appreciate any insight greatly. I have explored the group chats but have not been able to find a concrete answer to my question as of yet. I apologize if I've missed anything already posted. I'm a co-op student aiding in the build of a lathe which requires 5 step and direction outputs from the KFLOP. I was wondering with regards to the JP5 and JP7 (Pins#15 to #22) what the output signals were? Are they Unipolar PWM, bipolar PWM or a Frequency in nature? Also could you please clarify that pins #7- #14 on the JP7 can be used as Gen purpose I/O's to sink 7 independent Enable signals? I only ask as they are in pairs when used as encoder step and direction feedback. Just wondering if this effects how they are implemented as Gen purpose I/O's. Thanks for tabling my question.

Regards, Sascha



Group: DynoMotion Message: 15204 From: Tom Kerekes Date: 12/6/2017
Subject: Re: Hi, question regarding I/O's and output signal type
Hi Sascha,

I don't entirely understand your questions.

I'm not sure what " Unipolar PWM, bipolar PWM or a Frequency in nature?" means.  None of that really applies here.

All the pins you mention on JP7 and JP5 are all 3.3V LVTTL signals.   The can also operate in "open collector" mode where they can sink signals to 0V and go "open" to allow them to float up to 3.8V before being clamped to the 3.3V supply.  Open Collector mode can  usually allow 5V optos to be driven on and off.  To see how to select Step/Dir Output modes see:
http://dynomotion.com/Help/StepAndDirection/StepAndDir.htm

All the unused pins can be used as GPIO in any order.  To drive an Enable signal with a GPIO in open collector mode switch between a low level output and an input.  With:

SetBitDirection(0,1); //Output
ClearBit(0); //Low

to

SetBitDirection(0,0); // Input (allows to float high)

HTH
Regards
TK





On 12/6/2017 5:44 PM, sullrich07@... [DynoMotion] wrote:
 


Hello Mr. Kerekes, hey group. I appreciate any insight greatly. I have explored the group chats but have not been able to find a concrete answer to my question as of yet. I apologize if I've missed anything already posted. I'm a co-op student aiding in the build of a lathe which requires 5 step and direction outputs from the KFLOP. I was wondering with regards to the JP5 and JP7 (Pins#15 to #22) what the output signals were? Are they Unipolar PWM, bipolar PWM or a Frequency in nature? Also could you please clarify that pins #7- #14 on the JP7 can be used as Gen purpose I/O's to sink 7 independent Enable signals? I only ask as they are in pairs when used as encoder step and direction feedback. Just wondering if this effects how they are implemented as Gen purpose I/O's. Thanks for tabling my question.

Regards, Sascha




Group: DynoMotion Message: 15208 From: sullrich07@gmail.com Date: 12/7/2017
Subject: Re: Hi, question regarding I/O's and output signal type
Thank you Mr. Kerekes for your prompt response.

Regards, Sascha